package com.goodving.guli.bt.model;

/**
 * Created by john on 2015/12/1.
 */
public class LoginData {
    public final int LOGIN_DATA_INVALID;
    public String security;
    public long uid;

    public LoginData() {

        this.uid = -1;
        this.security = null;
        this.LOGIN_DATA_INVALID = Integer.MIN_VALUE;
    }

    public boolean isValid() {
        // return this.uid > 0 && !TextUtils.isEmpty(this.security);
        return this.uid > 0;
    }

    public String toString() {
        return "LoginData: uid:" + this.uid + ", security:" + this.security;
    }
}
